# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/Artsy/Specs.git'

platform :ios, '9.0'
inhibit_all_warnings!


use_frameworks!
workspace 'IOSApp'
#配置依赖第三方库的程程
#配置工程中包含POD的target
abstract_target 'IOSApp' do
    pod 'Moya/RxSwift'
    pod 'RxCocoa'
    pod 'SnapKit'
    pod 'ObjectMapper', '2.1.0'
    pod 'SwiftyJSON', '~> 3.1.1'
    pod 'IQKeyboardManagerSwift'
    pod 'libPhoneNumber-iOS', '~> 0.8'
    pod 'FCUUID'
    pod 'MJRefresh'
    pod 'FDFullscreenPopGesture'

    # Has its own copy of IOSApp + blueSmart
    target 'ShareUmbrella' do
        pod 'TSMessages'
        pod 'MBProgressHUD'
        pod 'SDWebImage'
        pod 'SWRevealViewController'
        pod 'AMap3DMap-NO-IDFA'
        project './ShareUmbrella/ShareUmbrella.xcodeproj'
    end
    
    # Has its own copy of IOSApp + SMKit
    target 'YSKit' do
        project './YSKit/YSKit.xcodeproj'
    end
end
#配置pod工程中swift版本
post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['SWIFT_VERSION'] = '3.0'
        end
    end
end
